package com.drug.wms.domain;

import com.drug.common.annotation.Excel;
import com.drug.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 价格配置对象 bus_price_conf
 * 
 * @author ruoyi
 * @date 2021-11-08
 */
public class BusGoodsPrice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    public BusGoodsPrice(BigDecimal price, String priceName) {
        this.price = price;
        this.priceName = priceName;
    }

    /** 主键id */
    private String id;

    /** 价格编号 */
    @Excel(name = "价格编号")
    private BigDecimal price;

    /** 价格名称 */
    @Excel(name = "价格名称")
    private String priceName;

    /** 数据状态 */
    @Excel(name = "数据状态")
    private String validityCode;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getPriceName() {
        return priceName;
    }

    public void setPriceName(String priceName) {
        this.priceName = priceName;
    }

    public String getValidityCode() {
        return validityCode;
    }

    public void setValidityCode(String validityCode) {
        this.validityCode = validityCode;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }


    @Override
    public String toString() {
        return "BusGoodsPrice{" +
                "id='" + id + '\'' +
                ", price=" + price +
                ", priceName='" + priceName + '\'' +
                ", validityCode='" + validityCode + '\'' +
                ", deptId=" + deptId +
                '}';
    }
}
